import React from 'react';
import '../styles/Domino.css';

function Domino({ top, bottom }) {
  return (
    <div className="domino">
      <div className="domino-half top">{top}</div>
      <div className="domino-half bottom">{bottom}</div>
    </div>
  );
}

export default Domino;